<template>
  <div>
    value: {{ value }}
    <el-input v-model="value" />
    <div>
      <router-link :to="linkTo">LinkTo</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'linkPage',
  data() {
    return {
      value: ''
    }
  },
  computed: {
    linkTo() {
      return '/public/linkTo?q=' + this.value
    }
  }
}
</script>

<style>

</style>
